//
//  EasyTakePicPublishViewModel.h
//  EnvironmentalProtection
//
//  Created by HCreater on 2018/11/1.
//  Copyright © 2018年 HCreater. All rights reserved.
//

#import "SUViewModel2.h"

@interface EasyTakePicPublishSubmitData : NSObject

@property (nonatomic, copy) NSString* typeID;
@property (nonatomic, copy) NSString* content;
@property (nonatomic, copy) NSString* areaID;

@end

@interface EasyTakePicPublishViewModel : SUViewModel2

@property (nonatomic, assign) BOOL isShowCamera;

@property (nonatomic, strong) EasyTakePicPublishSubmitData* submitData;

@property (nonatomic, copy) NSString* type;
@property (nonatomic, copy) NSString* content;
@property (nonatomic, copy) NSString* area;
@property (nonatomic, strong) NSMutableArray <UIImage*>* uploadImgs;

@property (nonatomic, strong) RACCommand* submitCmd;
@property (nonatomic, strong) RACCommand* addImgCmd;
@property (nonatomic, strong) RACCommand* deleteImgCmd;
@property (nonatomic, strong) RACCommand* showImgPickerCmd;

- (void)resetZoneData:(ProvinceListData*)zoneData;

@end
